<script setup>
import { useMoneyStore } from "../store/money.js";
const moneyStore = useMoneyStore();
const win = (args) => {
    moneyStore.win(args);
}
const pay = (args) => {
    moneyStore.pay(args);
}
</script>

<template>
  <a-button @click="win(10)">刮刮乐</a-button>
  <a-button @click="pay(5)">游戏机</a-button>
</template>

<style scoped>
</style>